home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mesolore
/
Mesolore - Disc 1.iso
/
mac
/
data
/
Buttons.cst
/
00288_Script_down finger
< prev
next >
Wrap
Text File
|
2001-04-13
|
739b
|
47 lines
-- PROPERTIES --
property spriteNum, myCursor, myMask
-- internal properties
property myMember
-- EVENT HANDLERS --
on beginSprite me
Initialize me
end beginSprite
-- CUSTOM HANDLERS --
on Initialize me -- sent by beginSprite
myMember = sprite(me.spriteNum).member
myCursor = the number of member "d_finger"
myMask = myCursor +1
end Initialize
on mousewithin me
myMember = sprite(me.spriteNum).member
if the type of myMember = #field then
if the forecolor of line the mouseline of field myMember = 255 then
cursor 0
else
cursor [myCursor,myMask]
end if
else
cursor [myCursor,myMask]
end if
end
on mouseLeave me
cursor 0
pass
end